﻿@model FOModels.Company.CompanyModels
@{
    ViewBag.Title = "" + Model.Name + "";
    Layout = "~/Views/Shared/_CpanelLayout.cshtml";
    var terminterest = (List<FOModels.Company.TableTermInterestModels>)ViewBag.TableTermInterest;
    var termdemandinterest = (List<FOModels.Company.TableTermDemandInterest>)ViewBag.TableTermDemandInterest;
    var TableHomeLoanEquityInterest = (List<FOModels.Company.TableHomeLoanEquityInterestModels>)ViewBag.TableHomeLoanEquityInterest;
    var TableHomeLoanMortgageInterest = (List<FOModels.Company.TableHomeLoanMortgageInterestModels>)ViewBag.TableHomeLoanMortgageInterest;
    var TableCarLoanEquityInterest = (List<FOModels.Company.TableCarLoanEquityInterestModels>)ViewBag.TableCarLoanEquityInterest;
    var TableCarLoanMortgageInterest = (List<FOModels.Company.TableHomeCarMortgageInterestModels>)ViewBag.TableCarLoanMortgageInterest;
    var shortloan = (List<FOModels.Company.TableShortTermLoanInterestModels>)ViewBag.TableShortTermLoanInterest;
    var longloan = (List<FOModels.Company.TableLongTermLoanInterestModels>)ViewBag.TableLongTermLoanInterest;
    var financialloan = (List<FOModels.Company.TableFinancialLeasingLoanInterestModels>)ViewBag.TableFinancialLeasingLoanInterest;
    var capitalloan = (List<FOModels.Company.TableCapitalLoanInterestModels>)ViewBag.TableCapitalLoanInterest;
    var consumerloan = (List<FOModels.Company.TableConsumerLoanInterestModels>)ViewBag.TableConsumerLoanInterest;
    var educationloan = (List<FOModels.Company.TableEducationLoanInterestModels>)ViewBag.TableEducationLoanInterest;
    var overdraftloan = (List<FOModels.Company.TableOverdraftLoanInterestModels>)ViewBag.TableOverdraftLoanInterest;
    var ConsumerInstallmentLoan = (List<FOModels.Company.TableConsumerInstallmentLoanInterestModels>)ViewBag.TableConsumerInstallmentLoanInterest;
    var PersonalBusinessLoan = (List<FOModels.Company.TablePersonalBusinessLoanInterestModels>)ViewBag.TablePersonalBusinessLoanInterest;
    var HomeEquityLoan = (List<FOModels.Company.TableHomeEquityLoanInterestModels>)ViewBag.TableHomeEquityLoanInterest;
}
<script type="text/javascript">
    $(document).ready(function () {
        $("#menuInner ul li.active").removeClass("active");
        $("li[rel=rel-com]").parent().parent().css("display", "block");
        $("li[rel=rel-com]").parent().parent().prev().addClass("active");
        $("li[rel=rel-com]").addClass("active");
    });
</script>
<div class="cbread_crumb">
    <ul class="breadcrumb">
        <li><a class="glyphicons home" href="/Cpanel"><i></i>Control panel</a></li>
        <li class="divider"></li>
        <li class="lastli">@Model.Name</li>
    </ul>
</div>
<div class="content-module-heading cf">
    <div class="separator"></div>
    <div class="heading-buttons">
        <h3 class="glyphicons bank"><i></i>@Model.Name</h3>

        <div class="clearfix"></div>
    </div>
    <div class="separator"></div>

</div>
<!--content-module-heading -->

<div class="innerLR">

    <div class="adcard-detail">
        <div class="ad-img" style="width: 270px;">
            <a target="_blank" title="@Model.Name" id="fancy-img" href="@Model.Website">
                <img style="height: 110px;width: 270px;" alt="@Model.Name" id="img-card-detail" src="/content/upload/images/@Model.CompanyLogo"  /></a>
        </div>
        <div class="ad-card-info1">
            <ul>
                <li><span class="ad-p-card-info">Tên:</span> <span>@Model.Name</span></li>
                <li><span class="ad-p-card-info">Địa chỉ:</span> <span>@Model.Address</span></li>
                <li><span class="ad-p-card-info">Số ĐT:</span> <span>@Model.Phone</span></li>
                <li><span class="ad-p-card-info">Website</span> <a href="@Model.Website" style="font-size:17px;">@Model.Website</a></li>
            </ul>
        </div>

    </div>
    <div class="clr"></div>
    <div class="widget widget-2 widget-tabs widget-tabs-2 tabs-left border-bottom-none">
        <div class="widget-head">
            <ul>
                <li class="active"><a class="glyphicons coins" href="#saving" data-toggle="tab"><i></i>Tiền gửi</a></li>
                <li class=""><a class="glyphicons building" href="#homeloan" data-toggle="tab"><i></i>Vay mua nhà</a></li>
                <li class=""><a class="glyphicons car" href="#carloan" data-toggle="tab"><i></i>Vay mua xe</a></li>
                <li class=""><a class="glyphicons user" href="#businessloan" data-toggle="tab"><i></i>Vay kinh doanh</a></li>
                <li class=""><a class="glyphicons user" href="#consumerloan" data-toggle="tab"><i></i>Vay tiêu dùng</a></li>
            </ul>
        </div>
    </div>
    <div class="innerLR">

        <form class="form-horizontal">
            <div class="tab-content" style="padding: 0;">
                <div class="tab-pane active" id="saving">
                    <div class="widget widget-2">
                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Tiết kiệm có kỳ hạn</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">EUR</th>
                                            <th class="center">USD</th>
                                            <th class="center">Chức năng</th>
                                        </tr>
                                    </thead>
                                    <tbody>


                                        @if (terminterest != null)
                                        {
                                            foreach (var t in terminterest)
                                            {
                                            <tr>
                                                <td class="center">@t.Month Tháng</td>
                                                <td class="center">@t.InterestVND %</td>
                                                <td class="center">@t.InterestEUR %</td>
                                                <td class="center">@t.InterestUSD %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTermInterest/@t.TableTermInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelterm('@t.TableTermInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>
                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableTermInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus"><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Tiết kiệm không kỳ hạn</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">EUR</th>
                                            <th class="center">USD</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (termdemandinterest != null)
                                        {
                                            foreach (var ta in termdemandinterest)
                                            {
                                            <tr>
                                                <td class="center">@ta.Month Tháng</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">@ta.InterestEUR %</td>
                                                <td class="center">@ta.InterestUSD %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTermDemandInterest/@ta.TableTermDemandInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdeltermdemand('@ta.TableTermDemandInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableTermDemandInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="clr"></div>
                    </div>

                </div>
                <div class="tab-pane" id="homeloan">
                    <div class="widget widget-2">
                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Vay xây - sửa nhà</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>
                                    </thead>
                                    <tbody>


                                        @if (TableHomeLoanEquityInterest != null)
                                        {
                                            foreach (var ta in TableHomeLoanEquityInterest)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableHomeLoanEquityInterest/@ta.TableHomeLoanEquityInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelhomeloaninterestrate('@ta.TableHomeLoanEquityInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>
                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableHomeLoanEquityInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus"><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Vay mua nhà thế chấp</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (TableHomeLoanMortgageInterest != null)
                                        {
                                            foreach (var ta in TableHomeLoanMortgageInterest)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableHomeLoanMortgageInterest/@ta.TableHomeLoanMortgageInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelhomeloanmortgageinterestrate('@ta.TableHomeLoanMortgageInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableHomeLoanMortgageInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="clr"></div>
                    </div>

                </div>
                <div class="tab-pane" id="carloan">
                    <div class="widget widget-2">
                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Vay mua Ô tô</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>
                                    </thead>
                                    <tbody>


                                        @if (TableCarLoanEquityInterest != null)
                                        {
                                            foreach (var ta in TableCarLoanEquityInterest)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableCarLoanEquityInterest/@ta.TableCarLoanEquityInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelcarloaninterestrate('@ta.TableCarLoanEquityInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>
                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableCarLoanEquityInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus"><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Vay mua xe máy</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (TableCarLoanMortgageInterest != null)
                                        {
                                            foreach (var ta in TableCarLoanMortgageInterest)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableCarLoanMortgageInterest/@ta.TableCarLoanMortgageInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelcarloanmortgageinterestrate('@ta.TableCarLoanMortgageInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }



                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableCarLoanMortgageInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="clr"></div>
                    </div>

                </div>
                <div class="tab-pane" id="businessloan">
                    <div class="widget widget-2">
                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Vay ngắn hạn</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>
                                    </thead>
                                    <tbody>


                                        @if (shortloan != null)
                                        {
                                            foreach (var sh in shortloan)
                                            {
                                            <tr>
                                                <td class="center">@sh.Years Năm</td>
                                                <td class="center">@sh.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableShortTermLoanInterest/@sh.TableShortTermLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelTableShortTermLoanInterest('@sh.TableShortTermLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>
                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableShortTermLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus"><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Tài trợ và cho vay vốn lưu động</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (capitalloan != null)
                                        {
                                            foreach (var ca in capitalloan)
                                            {
                                            <tr>
                                                <td class="center">@ca.Years Năm</td>
                                                <td class="center">@ca.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableCapitalLoanInterest/@ca.TableCapitalLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelTableCapitalLoanInterest('@ca.TableCapitalLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableCapitalLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>

                        <div class="clr"></div>

                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Cho thuê tài chính</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        @if (financialloan != null)
                                        {
                                            foreach (var fi in financialloan)
                                            {
                                            <tr>
                                                <td class="center">@fi.Years Năm</td>
                                                <td class="center">@fi.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableFinancialLeasingLoanInterest/@fi.TableFinancialLeasingLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelTableFinancialLeasingLoanInterest('@fi.TableFinancialLeasingLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }

                                    </tbody>
                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableFinancialLeasingLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus"><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Tài trợ và cho vay vốn trung, dài hạn</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (longloan != null)
                                        {
                                            foreach (var lo in longloan)
                                            {
                                            <tr>
                                                <td class="center">@lo.Years Năm</td>
                                                <td class="center">@lo.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableLongTermLoanInterest/@lo.TableLongTermLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelTableLongTermLoanInterest('@lo.TableLongTermLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableLongTermLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

                <div class="tab-pane" id="consumerloan">
                    <div class="widget widget-2">
                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Vay tiêu dùng</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (consumerloan != null)
                                        {
                                            foreach (var ta in consumerloan)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableConsumerLoanInterest/@ta.TableConsumerLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelconsumerloaninterestrate('@ta.TableConsumerLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableConsumerLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Vay du học</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (educationloan != null)
                                        {
                                            foreach (var ta in educationloan)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableEducationLoanInterest/@ta.TableEducationLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelEducationLoaninterestrate('@ta.TableEducationLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableEducationLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="clr"></div>
                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Vay thấu chi</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (overdraftloan != null)
                                        {
                                            foreach (var ta in overdraftloan)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableOverdraftLoanInterest/@ta.TableOverdraftLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelOverdraftLoaninterestrate('@ta.TableOverdraftLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableOverdraftLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Vay tiêu dùng trả góp</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (ConsumerInstallmentLoan != null)
                                        {
                                            foreach (var ta in ConsumerInstallmentLoan)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableConsumerInstallmentLoanInterest/@ta.TableConsumerInstallmentLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelConsumerInstallmentLoaninterestrate('@ta.TableConsumerInstallmentLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableConsumerInstallmentLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                        <div class="clr"></div>
                        <div class="widget widget-4 span55">
                            <label class="label-text">Bảng lãi suất - Vay kinh doanh cá nhân</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (PersonalBusinessLoan != null)
                                        {
                                            foreach (var ta in PersonalBusinessLoan)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTablePersonalBusinessLoanInterest/@ta.TablePersonalBusinessLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelPersonalBusinessLoaninterestrate('@ta.TablePersonalBusinessLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTablePersonalBusinessLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                          <div class="widget widget-4 span55" style="margin-left: 15px;">
                            <label class="label-text">Bảng lãi suất - Vay thế chấp nhà</label>
                            <div class="" style="padding: 10px 0;">
                                <table class="table table-bordered table-primary">
                                    <thead>
                                        <tr>
                                            <th class="center">Kỳ hạn</th>
                                            <th class="center">VND</th>
                                            <th class="center">Chức năng</th>
                                        </tr>

                                    </thead>

                                    <tbody>


                                        @if (HomeEquityLoan != null)
                                        {
                                            foreach (var ta in HomeEquityLoan)
                                            {
                                            <tr>
                                                <td class="center">@ta.Years Năm</td>
                                                <td class="center">@ta.InterestVND %</td>
                                                <td class="center">
                                                    <a href="/Company/UpdateTableHomeEquityLoanInterest/@ta.TableHomeEquityLoanInterestID" class="btn-action glyphicons pencil btn-success"><i></i></a>
                                                    <a onclick="return ajaxdelHomeEquityLoaninterestrate('@ta.TableHomeEquityLoanInterestID')" href="#" class="btn-action glyphicons remove_2 btn-danger"><i></i></a>
                                                </td>
                                            </tr>
                                            }
                                        }


                                    </tbody>

                                </table>
                                <div class="buttons pull-left" style="margin-top: 10px;">
                                    <a href="/Company/InsertTableHomeEquityLoanInterest/@Model.CompanyID" class="btn btn-primary btn-icon glyphicons circle_plus" ><i></i>Thêm</a>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </form>

    </div>
    <div class="clr"></div>
</div>

